package jerry.html.events;

import java.util.List;

/**
 * 
 * 
 * Player disconnect event
 * 
 * 
 * @author (h0t@_G0|i
 *
 */
public class PlyrDisconnEvtCapImpl
    extends EvtCap
{

    public PlyrDisconnEvtCapImpl(List<String> list)
    {
        try
        {
            int i = list.size();
            if(i < 4)
            {
                validEvt = false;
                return;
            }
            validEvt = true;
            timeStamp = Double.valueOf(list.get(0)).doubleValue();
            playerId = Integer.parseInt(list.get(3));
        }
        catch(Exception _ex)
        {
        	validEvt = false;
        }
    }
    
    public int playerId;
}
